package com.ruoyi.yijing.domain;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户占卜到的卦对象 yj_customer_guai
 * 
 * @author ruoyi
 * @date 2024-01-22
 */
public class YjCustomerGua extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 客户ID */
    @Excel(name = "客户ID")
    private Long customerId;

    /** 问题ID */
    @Excel(name = "问题ID")
    private Long categoryId;

    /** 卦ID */
    @Excel(name = "卦ID")
    private Integer guaId;

    private YjGua guaInfo;


    /** 6,7,8,9代表阴阳，动爻 */
    @Excel(name = "6,7,8,9代表阴阳，动爻")
    private Integer yao1;

    /** 6,7,8,9代表阴阳，动爻 */
    @Excel(name = "6,7,8,9代表阴阳，动爻")
    private Integer yao2;

    /** 6,7,8,9代表阴阳，动爻 */
    @Excel(name = "6,7,8,9代表阴阳，动爻")
    private Integer yao3;

    /** 6,7,8,9代表阴阳，动爻 */
    @Excel(name = "6,7,8,9代表阴阳，动爻")
    private Integer yao4;

    /** 6,7,8,9代表阴阳，动爻 */
    @Excel(name = "6,7,8,9代表阴阳，动爻")
    private Integer yao5;

    /** 6,7,8,9代表阴阳，动爻 */
    @Excel(name = "6,7,8,9代表阴阳，动爻")
    private Integer yao6;

    /** 占卜结果 */
    @Excel(name = "占卜结果")
    private String result;

    /** 吉凶 */
    @Excel(name = "吉凶")
    private String jiXiong;

    /** 起卦方法 */
    @Excel(name = "起卦方法")
    private String guaMethod;

    /** 高香名称 */
    @Excel(name = "高香名称")
    private String qingXiang;

    /** 高香付款状态(1购买,0未购买) */
    @Excel(name = "高香付款状态(1购买,0未购买)")
    private String xiangStatus;

    /** 结缘付款状态(1购买,0未购买) */
    @Excel(name = "结缘付款状态(1购买,0未购买)")
    private String fateStatus;

    /** 打赏ID */
    @Excel(name = "打赏ID")
    private Long shangId;

    /** 完成占卜时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "完成占卜时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date finishTime;

    /** 之卦ID */
    @Excel(name = "之卦ID")
    private Integer zhiGuaId;

    /** 互卦ID */
    @Excel(name = "互卦ID")
    private Integer huGuaId;

    /** 综卦ID */
    @Excel(name = "综卦ID")
    private Integer zongGuaId;

    /** 错卦ID */
    @Excel(name = "错卦ID")
    private Integer cuoGuaId;

    private String guaName;

    private String categoryName;

    private String customerName;

    private String headImage;

    private String phone;

    /**
     * 打赏商品名称
     */
    private String shangName;

    private String appId;

    /**
     * 卦的级别
      */
    private String level;

    public String getLevel() {
        return level;
    }

    public void setLevel(String level) {
        this.level = level;
    }

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public String getShangName() {
        return shangName;
    }

    public void setShangName(String shangName) {
        this.shangName = shangName;
    }

    public String getGuaName() {
        return guaName;
    }

    public void setGuaName(String guaName) {
        this.guaName = guaName;
    }

    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    public String getHeadImage() {
        return headImage;
    }

    public void setHeadImage(String headImage) {
        this.headImage = headImage;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCustomerId(Long customerId) 
    {
        this.customerId = customerId;
    }

    public Long getCustomerId() 
    {
        return customerId;
    }
    public void setCategoryId(Long categoryId) 
    {
        this.categoryId = categoryId;
    }

    public Long getCategoryId() 
    {
        return categoryId;
    }

    public void setYao1(Integer yao1) 
    {
        this.yao1 = yao1;
    }

    public Integer getYao1() 
    {
        return yao1;
    }
    public void setYao2(Integer yao2) 
    {
        this.yao2 = yao2;
    }

    public Integer getYao2() 
    {
        return yao2;
    }
    public void setYao3(Integer yao3) 
    {
        this.yao3 = yao3;
    }

    public Integer getYao3() 
    {
        return yao3;
    }
    public void setYao4(Integer yao4) 
    {
        this.yao4 = yao4;
    }

    public Integer getYao4() 
    {
        return yao4;
    }
    public void setYao5(Integer yao5) 
    {
        this.yao5 = yao5;
    }

    public Integer getYao5() 
    {
        return yao5;
    }
    public void setYao6(Integer yao6) 
    {
        this.yao6 = yao6;
    }

    public Integer getYao6() 
    {
        return yao6;
    }
    public void setResult(String result) 
    {
        this.result = result;
    }

    public String getResult() 
    {
        return result;
    }
    public void setJiXiong(String jiXiong) 
    {
        this.jiXiong = jiXiong;
    }

    public String getJiXiong() 
    {
        return jiXiong;
    }


    public String getGuaMethod() {
        return guaMethod;
    }

    public void setGuaMethod(String guaMethod) {
        this.guaMethod = guaMethod;
    }

    public void setQingXiang(String qingXiang)
    {
        this.qingXiang = qingXiang;
    }

    public String getQingXiang() 
    {
        return qingXiang;
    }
    public void setXiangStatus(String xiangStatus) 
    {
        this.xiangStatus = xiangStatus;
    }

    public String getXiangStatus() 
    {
        return xiangStatus;
    }
    public void setFateStatus(String fateStatus) 
    {
        this.fateStatus = fateStatus;
    }

    public String getFateStatus() 
    {
        return fateStatus;
    }
    public void setShangId(Long shangId) 
    {
        this.shangId = shangId;
    }

    public Long getShangId() 
    {
        return shangId;
    }
    public void setFinishTime(Date finishTime) 
    {
        this.finishTime = finishTime;
    }

    public Date getFinishTime() 
    {
        return finishTime;
    }

    public Integer getGuaId() {
        return guaId;
    }

    public void setGuaId(Integer guaId) {
        this.guaId = guaId;
    }

    public Integer getZhiGuaId() {
        return zhiGuaId;
    }

    public void setZhiGuaId(Integer zhiGuaId) {
        this.zhiGuaId = zhiGuaId;
    }

    public Integer getHuGuaId() {
        return huGuaId;
    }

    public void setHuGuaId(Integer huGuaId) {
        this.huGuaId = huGuaId;
    }

    public Integer getZongGuaId() {
        return zongGuaId;
    }

    public void setZongGuaId(Integer zongGuaId) {
        this.zongGuaId = zongGuaId;
    }

    public Integer getCuoGuaId() {
        return cuoGuaId;
    }

    public void setCuoGuaId(Integer cuoGuaId) {
        this.cuoGuaId = cuoGuaId;
    }

    public YjGua getGuaInfo() {
        return guaInfo;
    }

    public void setGuaInfo(YjGua guaInfo) {
        this.guaInfo = guaInfo;
    }


    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("customerId", getCustomerId())
            .append("categoryId", getCategoryId())
            .append("guaiId", getGuaId())
            .append("yao1", getYao1())
            .append("yao2", getYao2())
            .append("yao3", getYao3())
            .append("yao4", getYao4())
            .append("yao5", getYao5())
            .append("yao6", getYao6())
            .append("result", getResult())
            .append("jiXiong", getJiXiong())
            .append("guaiMethod", getGuaMethod())
            .append("qingXiang", getQingXiang())
            .append("xiangStatus", getXiangStatus())
            .append("fateStatus", getFateStatus())
            .append("shangId", getShangId())
            .append("createTime", getCreateTime())
            .append("finishTime", getFinishTime())
            .append("zhiGuaiId", getZhiGuaId())
            .append("huGuaiId", getHuGuaId())
            .append("zongGuaiId", getZongGuaId())
            .append("cuoGuaiId", getCuoGuaId())
            .toString();
    }
}
